package org.iabako.shared.iservice.security;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import org.iabako.shared.entity.user.Enterprise;
import org.iabako.shared.entity.user.User;

/**
 * Created by jose on 24/09/14.
 */


@RemoteServiceRelativePath("iabakoServices/extranet/authenticateService")
public interface AuthenticateService extends RemoteService {

    User getAuthenticatedUser();

    User reloadAuthenticatedUser();

    User reloadEnterpriseCredit();

    Enterprise getParentEnterprise();
}
